package main

import "fmt"

func main() {
	/*
			变量的交换
			a = 100
			b = 200
		其他语言做法：
		1.temp = 0
		2.temp(a) =a
		3.a = b
		4.b = temp(a)
		go语言做法
		var a int = 100
		var b int = 200
		b,a = a,b

	*/

	var a int = 100
	var b int = 200
	b, a = a, b
	fmt.Println(a, b)
}
